package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 药品类型对象 drug_type
 * 
 * @author ruoyi
 * @date 2024-06-25
 */
public class DrugType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 药品编号 */
    private Long drugId;

    /** 类型 */
    @Excel(name = "类型")
    private String typeName;

    /** 对症 */
    @Excel(name = "对症")
    private String treatmentType;

    public void setDrugId(Long drugId) 
    {
        this.drugId = drugId;
    }

    public Long getDrugId() 
    {
        return drugId;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setTreatmentType(String treatmentType) 
    {
        this.treatmentType = treatmentType;
    }

    public String getTreatmentType() 
    {
        return treatmentType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drugId", getDrugId())
            .append("typeName", getTypeName())
            .append("treatmentType", getTreatmentType())
            .toString();
    }
}
